package com.jsonal.form.api;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsonal.entity.BasePageBean;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: jingji.lin
 * @Description:
 * @Date: 2020/4/23 16:28
 * @Version: 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ArticleForm extends BasePageBean {
    private Integer id;

    private String title;

    private String status;

    @ApiModelProperty(value = "点赞量")
    private Integer giveLikeNum;

    @ApiModelProperty(value = "阅读量")
    private Integer toViewNum;

    private String articleLabelId;

    @ApiModelProperty(value = "主图")
    private String mainFigureUrl;

    private Integer userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer delFlag;

    private String content;

    private String token;

    private String username;

    private String html;

    private String open;

    private List<String> tagsList;
}
